home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
gnu
/
gnulib
/
libsrc98.zoo
/
getppid.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-03-29
|
194b
|
13 lines
#include <osbind.h>
#include <unistd.h>
#include <basepage.h>
#include <mintbind.h>
extern int __mint;
int
getppid()
{
return __mint ? Pgetppid() : (int) (((long)(_base->p_parent)) >> 8);
}